package segger.vasttrafik.comparator;

import java.util.Comparator;

import segger.vasttrafik.Tram;

public class TrackComparator implements Comparator<Tram> {

    @Override
    public int compare(Tram tram1, Tram tram2) {
        return tram1.getTrack().compareTo(tram2.getTrack());
    }

}
